/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Beans;

/**
 *
 * @author Venus
 */
public class DatBan {
    private int MaDB;
    private int MaBan;
    private String KhachHang;
    private String SoDT;
    private int SoKhach;
    private String Ngay;
    private int Gio;
    public DatBan(){
        MaDB = 0;
        MaBan = 0;
        KhachHang = "";
        SoDT = "";
        SoKhach = 0;
        Ngay = "";
        Gio = 0;
    }
    public void setMaDB (int value){
        MaDB = value;
    }
    public int getMaDB (){
        return MaDB;
    }
    public void setMaBan (int value){
        MaBan = value;
    }
    public int getMaBan (){
        return MaBan;
    }
    public void setKhachHang (String value){
        if(value == null)
            value = "";
        KhachHang = value;
    }
    public String getKhachHang(){
        return KhachHang;
    }
    public void setSoDT (String value){
        if(value == null)
            value = "";
        SoDT = value;
    }
    public String getSoDT(){
        return SoDT;
    }
    public void setSoKhach (int value){
        SoKhach = value;
    }
    public int getSoKhach (){
        return SoKhach;
    }
    public void setNgay (String value){
        if(value == null)
            value = "";
        Ngay = value;
    }
    public String getNgay(){
        return Ngay;
    }
    public void setGio (int value){
        Gio = value;
    }
    public int getGio (){
        return Gio;
    }

}
